
let baseUrl = ''
let imgBaseUrl = ''
let startUrl = ''
let codeUrl = ''
let shareUrl = ''
let cdnUrl = ''
if (process.env.NODE_ENV === 'development') {
  baseUrl = '/'
  imgBaseUrl = 'http://192.168.1.143:8081/nkdt/resource/client.do?method=read&resourceId='
  startUrl = 'http://192.168.1.143:8081/nkdt/rest/start.do'
  codeUrl = 'http://192.168.1.143:8081/nkdt/rest/record.do?method=getCodeImg&session_id='
  shareUrl = 'https://cdn.lanaocn.com/nkhb/assets/share/share.jpg'
  cdnUrl = 'https://cdn.lanaocn.com/nkhb'
} else if (process.env.NODE_ENV === 'production') {
  baseUrl = 'https://nk.lanaocn.com/nkdt'
  imgBaseUrl = 'https://nk.lanaocn.com/nkdt/resource/client.do?method=read&resourceId='
  startUrl = 'https://nk.lanaocn.com/nkdt/rest/start.do'
  codeUrl = 'https://nk.lanaocn.com/nkdt/rest/record.do?method=getCodeImg&session_id='
  shareUrl = 'https://cdn.lanaocn.com/nkhb/assets/share/share.jpg'
  cdnUrl = 'https://cdn.lanaocn.com/nkhb'
}

export {
  baseUrl,
  imgBaseUrl,
  startUrl,
  codeUrl,
  shareUrl,
  cdnUrl
}
